{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% from "macros-protocol.html" import card with context %}

<section>
  <div class="mzp-l-content mzp-t-content-xl">
    <div class="ads-section-header">
      <h2>The latest from Mozilla</h2>
    </div>

    <div class="mzp-l-card-third">
      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='Introducing Anonym: Raising the bar for privacy-preserving digital advertising',
        ga_title='Introducing Anonym: Raising the bar for privacy-preserving digital advertising',
        tag_label='June 16, 2024',
        image=resp_img(
          url='img/mozorg/advertising/blog/introducing-anonym.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/mozilla/mozilla-anonym-raising-the-bar-for-privacy-preserving-digital-advertising/' + utm_params,
      )}}

      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='Google’s Protected Audience protects advertisers (and Google) more than it protects users',
        ga_title='Google’s Protected Audience protects advertisers (and Google) more than it protects users',
        tag_label='April 3, 2024',
        image=resp_img(
          url='img/mozorg/advertising/blog/google-protected-audience.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/privacy-security/googles-protected-audience-protects-advertisers/' + utm_params,
      )}}

      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='Firefox Android’s new privacy feature, Total Cookie Protection, stops companies from keeping tabs on users',
        ga_title='Firefox Android’s new privacy feature, Total Cookie Protection, stops companies from keeping tabs on users',
        tag_label='March 14, 2023',
        image=resp_img(
          url='img/mozorg/advertising/blog/firefox-android-new-privacy.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/mozilla/firefox-androids-new-privacy-feature-total-cookie-protection-stops-companies-from-keeping-tabs-on-your-moves/' + utm_params,
      )}}

      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='Privacy Preserving Attribution for Advertising',
        ga_title='Privacy Preserving Attribution for Advertising',
        tag_label='February 8, 2022',
        image=resp_img(
          url='img/mozorg/advertising/blog/privacy-preserving-attribution.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/mozilla/privacy-preserving-attribution-for-advertising/' + utm_params,
      )}}

      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='The future of ads and privacy',
        ga_title='The future of ads and privacy',
        tag_label='May 28, 2021',
        image=resp_img(
          url='img/mozorg/advertising/blog/som-fallback.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/mozilla/the-future-of-ads-and-privacy/' + utm_params,
      )}}

      {{ card(
        class='mzp-c-card-medium',
        heading_level=3,
        title='Building a more privacy preserving ads-based ecosystem',
        ga_title='Building a more privacy preserving ads-based ecosystem',
        tag_label='May 28, 2021',
        image=resp_img(
          url='img/mozorg/advertising/blog/blog-fallback.jpg',
          optional_attributes={
            'loading': 'lazy',
            'class': 'mzp-c-card-image',
            'width': '600',
            'height': '400',
          }
        ),
        aspect_ratio='mzp-has-aspect-16-9',
        link_url='https://blog.mozilla.org/en/mozilla/building-a-more-privacy-preserving-ads-based-ecosystem/' + utm_params,
      )}}

    </div>
  </div>
</section>
